{% extends "base.html" %}

{%block title%}Finished {%endblock%}

{%block content%}
<script type=text/javascript> 
$(function() {
	$( "#datepicker" ).datepicker();
});
</script>
<form>
<input type= "hidden" name="ID" value={{ID}}>
<table>
<tr>
    <td>Date:
    </td>
    <td> <input type="text" name="DA" ID="datepicker" value={{DA}}>
    </td>
    <td> Quantity:
    </td>
    <td> <input type="text" name="QU" value = {{QU}}>
    </td>
</tr>
<tr>
    <td>
    </td>
    <td>
    </td>
    <td>
    </td>
    <td> <input type="submit">
    </td>
</tr>

</table>
</form>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />


<script type=text/javascript>

$(document).ready(function() {
	$('#table_id').dataTable( {
        "bProcessing": true,
		"sAjaxSource": "_finished_search?ID={{ID}}&DA={{DA}}&QU={{QU}}"
	} );
} );  
 
</script>
{{t|safe}}
{% endblock %}
